package com.solver.service;

import com.solver.dto.QuestionDTO;
import com.solver.dto.QuestionPageQueryDTO;
import com.solver.entity.Question;
import com.solver.result.PageResult;
import com.solver.vo.QuestionVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


public interface QuestionService {

     void saveWithFlavor(QuestionDTO questionDTO);

     PageResult questionPageQuery(QuestionPageQueryDTO questionPageQueryDTO);

     void deleteBatch(List<Long> ids);

     QuestionVO getQuestionById(Long id);

     void updateWithDifficulty(QuestionDTO questionDTO);


     List<QuestionVO> listWithDifficulty(Question question);
}
